package org.itstack.demo.design.door.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DoDoor {

    // 获取某个字段例如用户ID
    String key() default "";

    // 确定白名单拦截后返回的具体内容
    String returnJson() default "";

}
